home *** CD-ROM | disk | FTP | other *** search
/ Champak 62 / Volume 62 - JOGO DISK .iso / Games / rock-star.swf / scripts / DefineButton2_180 / BUTTONCONDACTION on(press).as next >
Text File  |  2008-03-17  |  120b  |  8 lines

  1. on(press){
  2.    if(_name.substr(0,1) == "p")
  3.    {
  4.       this.swapDepths(_root.d++);
  5.       this.startDrag();
  6.    }
  7. }
  8.